seajs.config({
  base: '../../../js/',
  alias: {
    'app': 'path/to/app/'
  },
  map: [
    ['http://example.com/', 'http://localhost/']
  ],
  charset: 'utf-8',
  timeout: 20000,
  debug: 0
});
define(function(require, exports, module) {
    // 如果没有配置base, 需要用 require('./javascripts/increment')
    var inc = require('increment').increment;
    var a = 1;
    console.log(inc(a));
})